pub use crate::error::CommonError;

pub trait Consumer {
    fn consume(&mut self, buf: &mut [u8]) -> Result<usize, CommonError> ;
}
